#define _CRT_SECURE_NO_WARNINGS 1
#include "HashTable.h"
using namespace HashBucket;


int main() {
	HashTable<int, int> hash;
	int arr[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 78, 98, 78, 67, 56, 77, 88, 456, 890, 234 };
	
	for (auto e : arr) {
		hash.insert({ e, e });
	}


	hash.Print();
	cout << "---------------------------------------------------" << endl;
	hash.erase(98);
	hash.Print();
	// HashTable<int, int> hash;



	return 0;
}